<?php
include_once 'BaseS.php';
include_once 'BaseM.php';
include_once '../library/util/Push.php';

class TestPush extends BaseS {

	public function __construct() {
		parent::__construct ();
		parent::setTarget ( $this );
	}

	public function testNowPush(){
		
		$push = new Push();
		$result = $push->android("test", array("APA91bGLSjHiyGvbYuqo9moEeeMlxWG54RpYE_x3LXOFs5gbF04lj2p2aYIwtx2IRiHuHPAjVEv3zq6PD_nhwz07dJcalI16JrTRBpYCOSPhQLP46mdPo-i-0VAX98XP7ez0FLI5u49_nLF--kvXrp2bC2M-wO1RAd0sTGEmVRmF10HvAuQTetQ"));
		echo $result;
	}

}

class TestPushM extends BaseM{

	public function __construct() {
		parent::__construct ();
	}
		
}

if (isset($_GET["action"])) {
	$service = new TestPush ();
	$service->__call ( $_GET["action"], null );
}

?>